import request from '@/utils/request'

export default {

  getList: function(data) {
    return request({
      url: '/storeGoods/listByPage',
      method: 'post',
      data
    })
  },
  putGoods: function(data) {
    return request({
      url: '/storeGoods/putGoods',
      method: 'post',
      data
    })
  },
  downGoods: function(id) {
    return request({
      url: '/storeGoods/downGoods/'+id,
      method: 'get'
    })
  },
  
}
